#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr1[] = { 1,2,3 };
	int arr2[] = { 4,5,6 };
	int i = 0;
	int t = 0;
	int ze = sizeof(arr1) / sizeof(arr1[0]);

	for (i = 0;i < ze;i++)
	{
		printf("%d", arr1[i]);
	}
	printf("\n");

	for (i = 0;i < ze;i++)
	{
		printf("%d", arr2[i]);
	}
	printf("\n");

	for (i = 0;i < ze;i++)
	{
		t = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = t;
    }
	for (i = 0;i < ze;i++)
	{
		printf("%d", arr1[i]);
	}
	printf("\n");

	for (i = 0;i < ze;i++)
	{
		printf("%d", arr2[i]);
	}
	return 0;
}
